package com.cqie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 仓库进取记录表
 * </p>
 *
 * @author 不吃海鲜
 * @since 2024-12-19
 */
@Getter
@Setter
@TableName("entrepot_record_info")
@ApiModel(value = "EntrepotRecordInfo对象", description = "仓库进取记录表")
public class EntrepotRecordInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("仓库进取记录id")
    @TableId(value = "warehouse_record_id", type = IdType.AUTO)
    private Integer warehouseRecordId;

//    @ApiModelProperty("进货仓库信息id(仓库id)")
//    @TableField("stock_warehouse_id")
//    private Integer stockWarehouseId;
//
//    @ApiModelProperty("取货仓库信息id(仓库id)")
//    @TableField("claim_warehouse_id")
//    private Integer claimWarehouseId;

    @ApiModelProperty("仓库id")
    @TableField("warehouse_id")
    private Integer warehouseId;

    @ApiModelProperty("操作仓库名称")
    @TableField("warehouse_name")
    private String warehouseName;

    @ApiModelProperty("药品信息id")
    @TableField("drug_id")
    private Integer drugId;

    @ApiModelProperty("药品编号")
    @TableField("drug_code")
    private String drugCode;

    @ApiModelProperty("药品名称")
    @TableField("drug_name")
    private String drugName;

    @ApiModelProperty("进货/取货名称")
    @TableField("warehouse_record_name")
    private String warehouseRecordName;

    @ApiModelProperty("进货/取货代码(1-进货 2-取货)")
    @TableField("warehouse_record_code")
    private String warehouseRecordCode;

    @ApiModelProperty("操作数量")
    @TableField("operation_number")
    private Integer operationNumber;

    @ApiModelProperty("授权标志(0-待审批 1-同意 2-驳回)")
    @TableField("authorization_sign")
    private String authorizationSign;

    @ApiModelProperty("驳回理由")
    @TableField("excuse")
    private String excuse;

    @ApiModelProperty("发起人医生id")
    @TableField("initiator_doctor_id")
    private Integer initiatorDoctorId;
    @ApiModelProperty("操作人医生名称")
    @TableField("initiator_doctor_name")
    private String initiatorDoctorName;



    @ApiModelProperty("审批人医生id")
    @TableField("approver_doctor_id")
    private Integer approverDoctorId;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("作废标志")
    @TableField("rm_sign")
    private String rmSign;
}
